<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<?php
$listUrl = $control->getLinkUrl(array('name' => 'list','id' => 'booking_list'));
$myBookingUrl = $control->getLinkUrl(array('name' => 'myBooking','id' => 'booking_list_myBooking'));
$detailUrl = $control->getLinkUrl(array('name' => 'detail','id' => 'booking_detail'));
?>
<div style="font-family: 微软雅黑; font-size: 14px; line-height: 28px">
    <div style="height:28px;width:100%;border:1px solid #dedede;">
        <a href="#" style="text-decoration: none;text-align:center; float:left; width:32%;background-color:#E9E9E9;"><div><?php echo Yii::t('BWeSport','Available Booking'); ?></div></a>
        <a href="<?php echo $listUrl;?>" style="text-decoration: none;text-align:center; float:left; width:32%; border-left:1px solid #dedede;border-right:1px solid #dedede;"><div><?php echo Yii::t('BWeSport','All Booking'); ?></div></a>
        <a href="<?php echo $myBookingUrl;?>" style="text-decoration: none;text-align:center; float:left; width:32%;"><div><?php echo Yii::t('BWeSport','My Booking'); ?></div></a>
    </div>
    <div style="border: 1px solid #dedede; padding: 8px 8px; background-color: white; margin: 10px;">
            <div style="text-align: center;margin-bottom: 4px;padding:0 1px;">
                <img src="<?php echo Yii::app()->request->baseUrl;?>/images/mobile/place_tennis.png" style="width:100%; height:130px;"/>
            </div>
            <div style="padding: 0;">
                <a href="#"><div style="font-weight: bold; color:blueviolet;">网球场<?php // echo $event->name; ?></div></a>
                <p><?php echo Yii::t('BWeSport', 'Location Address')?>：重庆奥林匹克中心</p>
                <p><?php // echo '开始时间:'.$event->startTime ?></p> <p><?php // echo '结束时间:'.$event->endTime ?></p>
                <div style="font-weight: bold; color:#dedede;"><a href="<?php echo $detailUrl;?>" style="text-decoration: none;"><?php echo Yii::t('BWeSport', 'Location Detail Content')?></a></div>
            </div>
    </div>
</div>